package com.wj.abstractfactory.abstractfactory.impl;

import com.wj.abstractfactory.HuMan;
import com.wj.abstractfactory.abstractfactory.HumanFactory;
import com.wj.abstractfactory.human.WhiteHuFuMan;
import com.wj.abstractfactory.human.YellowHuFuMan;

/**
 * @author WangJin
 * @version 1.0
 * @date 2022/2/18 10:35
 */
public class FuFactory implements HumanFactory {

    @Override
    public HuMan createYellowHuman() {
        return new YellowHuFuMan();
    }

    @Override
    public HuMan createWhiteHuman() {
        return new WhiteHuFuMan();
    }
}
